<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8"/>
    <title>登陆界面</title>
</head>
<script src="https://cdn.bootcss.com/jquery/2.2.4/jquery.min.js"></script>
<link href="https://cdn.bootcss.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link href="https://cdn.bootcss.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<script src="https://cdn.bootcss.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
<link rel="stylesheet" href="css/style.css" th:href="@{/css/style.css}">
<!--<style type="text/css">-->
<!--label , input {-->
<!--max-width: 200px;-->
<!--box-sizing: border-box;-->
<!--display: block;-->
<!--margin: 10px auto;-->
<!--}-->
<!--</style>-->
<script type="text/javascript">
    if (window.top != window.self) {
        window.top.location.reload();
    }
</script>
<body>
<!--<form method="post">-->
<!--<label for="username">用户名</label>-->
<!--<input type="text" name="username" id="username" />-->
<!--<label for="password">密码</label>-->
<!--<input type="password" name="password" id="password"/>-->
<!--<p>记住我<input type="checkbox" name="rememberMe" id=""></p>-->
<!--<input type="submit" value="提交"/>-->
<!--</form>-->
<!--<div th:text="${msg}"></div>-->
<form method="post" class="container">
    <div class="form row">
        <div class="form-horizontal col-md-offset-3" id="login_form">
            <h3 class="form-title">用户登陆</h3>
            <div class="col-md-9">
                <div class="form-group">
                    <i class="fa fa-user fa-lg"></i>
                    <input class="form-control required" type="text" placeholder="用户名" id="username" name="username" autofocus="autofocus" maxlength="20"/>
                </div>
                <div class="form-group">
                    <i class="fa fa-lock fa-lg"></i>
                    <input class="form-control required" type="password" placeholder="密码" id="password" name="password" maxlength="8"/>
                </div>
                <div class="form-group">
                    <label class="checkbox">
                        <input type="checkbox" name="remember" value="1"/>记住我
                    </label>
                </div>
                <div class="form-group col-md-offset-9">
                    <button class="btn btn-success pull-right" type="submit">登录</button>
                </div>
            </div>
        </div>
    </div>
</form>
</body>
</html>